package org.jeecg.modules.demo.weixin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 美团返回校验返回参数
 * @Author: jeecg-boot
 * @Date: 2023-11-02
 * @Version: V1.0
 */
@Data
@TableName("yx_meituan_verfication")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yx_meituan_verfication对象", description="yx_meituan_verfication")
public class YxMeituanVerfication implements Serializable {

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;
    /**
     * 商品名称
     */
    /**
     * 商品名称
     */
    @Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String dealTitle;
    /**
     * 团购id,
     */
    @Excel(name = "团购id", width = 15)
    @ApiModelProperty(value = "团购id")
    private Long dealgroupId;
    /**
     * 业务类型 0:普通团购  203:拼团 205:次卡 217:通兑标品
     */
    @Excel(name = "业务类型 0:普通团购  203:拼团 205:次卡 217:通兑标品", width = 15)
    @ApiModelProperty(value = "业务类型 0:普通团购  203:拼团 205:次卡 217:通兑标品")
    private Integer bizType;
    /**
     * code券码
     */
    @Excel(name = "code券码", width = 15)
    @ApiModelProperty(value = "code券码")
    private String receiptCode;
    /**
     * 套餐价格
     */
    @Excel(name = "套餐价格", width = 15)
    @ApiModelProperty(value = "套餐价格")
    private BigDecimal dealPrice;
    /**
     * 市场价
     */
    @Excel(name = "市场价", width = 15)
    @ApiModelProperty(value = "市场价")
    private BigDecimal dealMarketprice;
    /**
     * 套餐id
     */
    @Excel(name = "套餐id", width = 15)
    @ApiModelProperty(value = "套餐id")
    private Long dealId;
    /**
     * 手机号码
     */
    @Excel(name = "手机号码", width = 15)
    @ApiModelProperty(value = "手机号码")
    private String mobile;
    /**
     * 券过期时间
     */
    @Excel(name = "券过期时间", width = 15)
    @ApiModelProperty(value = "券过期时间")
    private String receiptEndDate;

    /**
     * 商品类型
     */
    @Excel(name = "商品类型", width = 15)
    @ApiModelProperty(value = "商品类型")
    private Integer productType;
    /**
     * 第三方的店铺id
     */
    @Excel(name = "第三方的店铺id", width = 15)
    @ApiModelProperty(value = "第三方的店铺id")
    private String appShopId;
    /**
     * 订单id
     */
    @Excel(name = "订单id", width = 15)
    @ApiModelProperty(value = "订单id")
    private String orderId;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;

    /**
     * 用户消费价格
     */
    @TableField(exist = false)
    private BigDecimal amount;

}
